<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="UTF-8">
		<title>注册</title>
		 <link rel="stylesheet" type="text/css" th:href="@{/css/login.css}" />
	</head>
	<body>
        <div class="Top">
           
            <ul style="margin-left: 145px;">
                <li><a th:href="@{/index/food}">首页</a></li>
                <li><a href="#">热门</a></li>
                <li><a href="#">用户评价</a></li>
        
            </ul>
            <ul style="margin-left: 427px;">
                <li><a th:href="@{/login/toUserLogin}">登录</a></li>
                <li><a th:href="@{/login/toRegister}">注册</a></li>
            </ul>
    </div>
        <div class="Box">
            <div class="login-box">
                <h2>注册</h2>
                <form th:action="@{/user/register}" method="get">
                    <div class="login-field">
                        <input type="text" name="ofUserId" required="" />
                        <label>账号</label>
                    </div>
                    <div class="login-field">
                        <input type="password" name="ofUserPw" required="" />
                        <label>密码</label>
                    </div>
                    <div class="login-field">
                        <input type="text" name="ofUserName" required="" />
                        <label>姓名</label>
                    </div>
                    <div class="login-field">
                        <input type="text" name="ofUserSex" required="" />
                        <label>性别</label>
                    </div>
                    <div class="login-field">
                        <input type="text" name="ofUserMobile" required="" />
                        <label>电话</label>
                    </div>
                    <div class="login-field">
                        <input type="text" name="ofUserAddress" required="" />
                        <label>地址</label>
                    </div>
                    <button type="submit">注册</button>
                    <P class="pone"><a style="color: white;" th:href="@{/login/toUserLogin}">登录</a></P>
                </form>
            </div>
        </div>
	</body>
</html>
